let sysInfo = null;

const systemInfo = wx.getSystemInfoSync();
const capsuleInfo = wx.getMenuButtonBoundingClientRect();

// 状态栏高度
sysInfo = {
    navBarHeight: capsuleInfo.height + 4 * 2 + systemInfo.statusBarHeight,
    statusBarHeight: systemInfo.statusBarHeight * 2,
    finalHeight: 92 + systemInfo.statusBarHeight * 2
}
console.log(sysInfo)
console.log('设备高度',systemInfo.statusBarHeight)
console.log('设备高度',systemInfo.windowWidth)
console.log('设备高度',systemInfo.screenHeight)
console.log('设备高度',systemInfo.windowHeight)
console.log('设备高度',systemInfo.pixelRatio)




module.exports = {
    sysInfo
}